<div class="box">
        <!-- box / title -->
    <div class="title">
            <h5>Garansi</h5>
    </div>
        <!-- end box / title -->
    
    <?php
    
        $msg = $this->session->flashdata('message');
        $div_class = $this->session->flashdata('div_class');
    
          if($msg <> ""){
      // $lastId = substr("0000000" . $lastId, -8);
              echo'<div id="box-messages">
                        <div class="messages">
                                <div id="message-success" class="message message-'.$div_class.' ">
                                        <div class="image">
                                                <img src="'. base_url() .'file/shell/smooth/resources/images/icons/'.$div_class.'.png" alt="Success" height="32" />
                                        </div>
                                        <div class="text">
                                                <h6>'. $msg .'</h6>
                                        </div>
                                        <div class="dismiss">
                                                <a href="#message-success"></a>
                                        </div>
                                </div>
                        </div>
                </div>';
        }
        ?>

        <div class="table">
               
                <base href="<?php echo base_url() ?>" />
        
                <div id="ajaxLoadAni">
                    <img src="file/smooth/images/ajax-loader.gif" alt="Ajax Loading Animation" />
                    <span>Loading...</span>
                </div>
                
                        <table id="records">
                            <thead>
                                <!-- <tr>
                    <th>No</th>
                                        <th>Tanggal</th>
                                        <th>Timestamp</th>
                                        <th>No Pengambilan</th>
                                        <th>Name Sales</th>
                                        <th>Actions</th>
                                </tr> -->
                            </thead>
                            <tbody></tbody>
                        </table>
                
                <?=$this->load->view("grid-guarantee");?>
                
        </div>

</div>